import { defineStore } from "pinia";

const userRoutersStore = defineStore('router', {
    state: () => ({
        routesTable: [], // 路由
    }),
    // 路由处理函数
    actions: {
        RoutesTable(data) {
            this.routesTable = data;
        },
    },
})

export default userRoutersStore;